package com.lingshi.shopping.constant;

public class Constant {

    public static final Integer ENABLE = 1;
    public static final Integer DISABLE = 0;

    public static final String NEW = "NEW";//新品排序关键字
    public static final String PRICE = "PRICE";//价格排序
    public static final String ASC = "ASC";//升序
    public static final String DESC = "DESC";//降序

    //商品同步的主题
    public static final String SYNC_GOODS_TOPIC = "sync_goods_topic";
    public static final String DELETE_GOODS_TOPIC = "delete_goods_topic";

    public static final String SYNC_GOODS_CONSUMER_GROUP = "sync_goods_consumer_group";
    public static final String DELETE_GOODS_CONSUMER_GROUP = "delete_goods_consumer_group";

    //检查订单过期的topic和消费者组
    public static final String CHECK_ORDER_STATUS_TOPIC = "check_order_status_topic";
    public static final String CHECK_ORDER_STATUS_CONSUMER_GROUP = "check_order_status_consumer_group";


    //用户状态
    public static final String Y = "Y";
    public static final String N = "N";



}
